<?php
namespace app\mobile\model;

use think\Model;

class MemberIntegral extends Model
{
    // 分类跳转名称
    protected function getStatusTextAttr($value, $data)
    {
        $status_name = [1 => '未发货', 2 => '已发货', 3 => '订单完成'];

        return $status_name[$data['status']];
    }
}